<?php
/**
 * PointFixture
 *
 */
class PointFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'key' => 'primary', 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 45, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'point_category_id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'key' => 'index', 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'zone_id' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 36, 'key' => 'index', 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1'),
		'latitude' => array('type' => 'float', 'null' => false, 'default' => null, 'length' => '10,6'),
		'longitude' => array('type' => 'float', 'null' => false, 'default' => null, 'length' => '10,6'),
		'nbvisits' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 9),
		'created' => array('type' => 'datetime', 'null' => true, 'default' => null),
		'modified' => array('type' => 'datetime', 'null' => true, 'default' => null),
		'indexes' => array(
			'PRIMARY' => array('column' => 'id', 'unique' => 1),
			'fk_points_zones2_idx' => array('column' => 'zone_id', 'unique' => 0),
			'fk_points_point_categories1_idx' => array('column' => 'point_category_id', 'unique' => 0)
		),
		'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => '528152f9-0874-47ed-bd19-0a942f28eab3',
			'name' => 'Lorem ipsum dolor sit amet',
			'point_category_id' => 'Lorem ipsum dolor sit amet',
			'zone_id' => 'Lorem ipsum dolor sit amet',
			'latitude' => 1,
			'longitude' => 1,
			'nbvisits' => 1,
			'created' => '2013-11-11 22:58:17',
			'modified' => '2013-11-11 22:58:17'
		),
	);

}
